package org.pidan.basic.designModel.strategy;

/**
 * {@code @description}: TODO
 * {@code @author}: huangyuxin
 * {@code @date}: 2023-11-17
 */
public class Client {

    public static void main(String[] args) {
        Context context;

        context = new Context(new PayStrategyA());
        context.algorithmInterface();

        context = new Context(new PayStrategyB());
        context.algorithmInterface();

        context = new Context(new PayStrategyC());
        context.algorithmInterface();

    }
}
